package com.lanxiao.cloud.modules.user.application.dto;

import com.lanxiao.cloud.common.core.enums.SexEnum;
import com.lanxiao.cloud.common.core.enums.StateEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;

/**
 * @author ：qiaoliang
 * @date ：2021-09-13
 */
@ApiModel("用户查询条件模型")
public class UserQuery {

  @ApiModelProperty("昵称")
  private final String name;
  @ApiModelProperty("手机号")
  private final String phone;
  @ApiModelProperty("性别")
  private final SexEnum sex;
  @ApiModelProperty("状态")
  private final StateEnum state;

  public UserQuery(String name, String phone, SexEnum sex,StateEnum state) {
    this.name = name;
    this.phone = phone;
    this.sex = sex;
    this.state = state;
  }

  public String getName() {
    return name;
  }

  public String getPhone() {
    return phone;
  }

  public SexEnum getSex() {
    return sex;
  }

  public StateEnum getState() {
    return state;
  }

}
